package com.dot.base.wait02;

public class Thread02 {
    public static void main(String[] args) {
        Thread t1 = new Thread(()-> System.out.println(Thread.currentThread().getName()),"t1");
        Thread t2 = new Thread(()-> System.out.println(Thread.currentThread().getName()),"t2");
        Thread t3 = new Thread(()-> System.out.println(Thread.currentThread().getName()),"t3");
        t1.start();
        t2.start();
        t3.start();
    }

}
